package cate.common.table.activity.rebate.row;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteField;

public class RebateRow extends ERow {
    @NoteField(value = "天数")
    public int serialPayDays;
    @NoteField(value = "奖励")
    public String reward;
    @NoteField(value = "奖励分组")
    public int group;


    @Override
    public void parse(XSSFRowWrap xrw) {
        this.id = xrw.getInteger("ID");
        this.serialPayDays = xrw.getInteger("天数",0);
        this.reward = xrw.getString("奖励");
        this.group = xrw.getInteger("奖励分组");
    }
}
